$(document).ready(function(){
    $("#frm_newuser").validate({
        rules: {
            'username': {
                required: true
            },
            'password': {
                required: true
            },
            'confirm_password': {
                required: true,
                equalTo: '#password'
            },
            'fullname': {
                required: true
            },
            'email': {
                required: true
            },
            'phone': {
                required: true
            },
            'address': {
                required: true
            },       
            'country': {
                required: true
            }            
        }
    });
});